i = 123
j = 456.789
x = True
y = '小王'

print(type(i))
print(type(j))
print(type(x))
print(type(y))

print('i的值为%d' % i)
print('j的值为%.4f' % j)
print('j的值为%20.2f' % j)
print(x)
print(y)
